cd $tmpdir
	
# Downloading GCC source
if [ ! -f "$gcc" ]; then
	echo "Downloading GCC sources..."
	wget $gccmirror/$gcc
	tar -xf $gcc
fi
	
cd $gccsrcdir

mkdir -v build
cd build
	
SED=sed
../configure --prefix=$freondir \
			--enable-languages=c,c++ \
			--disable-multilib       \
			--disable-bootstrap      \
			--with-system-zlib
		
# Compile
make -j$corecount

make install

cd $softwaredir

cd $tmpdir
